﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
namespace ClassLibraryMessageDataType
{
    [StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
    public struct ClassWorkStepsCollections
    {
        /// <summary>
        /// 
        /// </summary>
        public byte noUsed1;
        /// <summary>
        /// 
        /// </summary>
        public byte workStepsType;
        /// <summary>
        /// 
        /// </summary>
        public ushort workStepsCode;
        /// <summary>
        /// 
        /// </summary>
        public ushort constantVoltage;
        /// <summary>
        /// 
        /// </summary>
        public ushort constantCurrent;
        /// <summary>
        /// 
        /// </summary>
        public ushort minimumVoltage;
        /// <summary>
        /// 
        /// </summary>
        public ushort maximumVoltage;
        /// <summary>
        /// 
        /// </summary>
        public ushort endCurrent;
        /// <summary>
        /// 
        /// </summary>
        public ushort maximumCurrent;
        /// <summary>
        /// 
        /// </summary>
        public ushort endCapacity;
        /// <summary>
        /// 
        /// </summary>
        public ushort limitTime;
        /// <summary>
        /// 无用
        /// </summary>
        public byte noUsed2;

    }

    public struct ClassWorkStepsCollections_chinese
    {
        /// <summary>
        /// 
        /// </summary>
        public string 工步名称 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public byte 无用1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public byte 工步类型 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ushort 工步号 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ushort 恒压 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ushort 恒流 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ushort 下限电压 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ushort 上限电压 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ushort 终止电流 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ushort 上限电流 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ushort 终止容量 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ushort 限定时间 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public byte 无用2 { get; set; }

    }

}
